Integrand size = 38, antiderivative size = 45 \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{7/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {\cos (e+f x) (a+a \sin (e+f x))^{9/2}}{5 a f \sqrt {c-c \sin (e+f x)}} \]
[Out]
Time = 0.24 (sec) , antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2920, 2817} \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{7/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {\cos (e+f x) (a \sin (e+f x)+a)^{9/2}}{5 a f \sqrt {c-c \sin (e+f x)}} \]
[In]
[Out]
Rule 2817
Rule 2920
Rubi steps \begin{align*} \text {integral}& = \frac {\int (a+a \sin (e+f x))^{9/2} \sqrt {c-c \sin (e+f x)} \, dx}{a c} \\ & = \frac {\cos (e+f x) (a+a \sin (e+f x))^{9/2}}{5 a f \sqrt {c-c \sin (e+f x)}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(142\) vs. \(2(45)=90\).
Time = 7.69 (sec) , antiderivative size = 142, normalized size of antiderivative = 3.16 \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{7/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {a^3 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) (1+\sin (e+f x))^3 \sqrt {a (1+\sin (e+f x))} (-120 \cos (2 (e+f x))+10 \cos (4 (e+f x))+210 \sin (e+f x)-45 \sin (3 (e+f x))+\sin (5 (e+f x)))}{80 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^7 \sqrt {c-c \sin (e+f x)}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(172\) vs. \(2(39)=78\).
Time = 0.18 (sec) , antiderivative size = 173, normalized size of antiderivative = 3.84
method | result | size |
default | \(\frac {\left (\left (\cos ^{4}\left (f x +e \right )\right ) \sin \left (f x +e \right )+\cos ^{5}\left (f x +e \right )-5 \left (\cos ^{3}\left (f x +e \right )\right ) \sin \left (f x +e \right )+4 \left (\cos ^{4}\left (f x +e \right )\right )-7 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-12 \left (\cos ^{3}\left (f x +e \right )\right )+15 \cos \left (f x +e \right ) \sin \left (f x +e \right )-8 \left (\cos ^{2}\left (f x +e \right )\right )+\sin \left (f x +e \right )+16 \cos \left (f x +e \right )-1\right ) \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, a^{3} \left (1+\cos \left (f x +e \right )\right )}{5 f \left (\cos \left (f x +e \right )+\sin \left (f x +e \right )+1\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}}\) | \(173\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 111 vs. \(2 (39) = 78\).
Time = 0.32 (sec) , antiderivative size = 111, normalized size of antiderivative = 2.47 \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{7/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {{\left (5 \, a^{3} \cos \left (f x + e\right )^{4} - 20 \, a^{3} \cos \left (f x + e\right )^{2} + 15 \, a^{3} + {\left (a^{3} \cos \left (f x + e\right )^{4} - 12 \, a^{3} \cos \left (f x + e\right )^{2} + 16 \, a^{3}\right )} \sin \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{5 \, c f \cos \left (f x + e\right )} \]
[In]
[Out]
Timed out. \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{7/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{7/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=\int { \frac {{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {7}{2}} \cos \left (f x + e\right )^{2}}{\sqrt {-c \sin \left (f x + e\right ) + c}} \,d x } \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.18 \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{7/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=-\frac {32 \, a^{\frac {7}{2}} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{10} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{5 \, \sqrt {c} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} \]
[In]
[Out]
Time = 11.18 (sec) , antiderivative size = 113, normalized size of antiderivative = 2.51 \[ \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{7/2}}{\sqrt {c-c \sin (e+f x)}} \, dx=-\frac {a^3\,\sqrt {a\,\left (\sin \left (e+f\,x\right )+1\right )}\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (120\,\cos \left (e+f\,x\right )+110\,\cos \left (3\,e+3\,f\,x\right )-10\,\cos \left (5\,e+5\,f\,x\right )-165\,\sin \left (2\,e+2\,f\,x\right )+44\,\sin \left (4\,e+4\,f\,x\right )-\sin \left (6\,e+6\,f\,x\right )\right )}{80\,c\,f\,\left (\cos \left (2\,e+2\,f\,x\right )+1\right )} \]
[In]
[Out]